package com.cwd.arm.infrastructure.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cwd.arm.infrastructure.po.UserRolePo;

import java.util.List;

/**
* Description:用户角色关联
* Created on 2022年01月01日
* @author  yan
*/
public interface UserRoleDao extends IService<UserRolePo> {

    UserRolePo selectByUserIdAndRoleId(Long userId, Long roleId);

    void removeByRoleId(Long roleId);

    void removeByUserId(Long userId);

}
